avg = (42.34 + 342.32 + 232.3 * 212) / 3
total = (avg - 21) / 2 + (avg + 324.234) / 2 + (avg - 21.12) / 2
result = total

print(result)